<template>
  <div id="app">
    <router-view />
  </div>
</template>

<script>
export default {
  name: "App",
  metaInfo() {
    return {
      title:
        this.$store.state.settings.dynamicTitle &&
        this.$store.state.settings.title,
      titleTemplate: (title) => {
        return title
          ? `${title} - ${process.env.VUE_APP_TITLE}`
          : process.env.VUE_APP_TITLE;
      },
    };
  },
  beforeMount() {},
  mounted() {},
};
</script>
<style src="@wangeditor/editor/dist/css/style.css"></style>
<style lang="scss">
/* 弹出框公共样式 */
.el-dialog__header {
  background-color: #fff;
  padding-top: 15px !important;
  text-align: center !important;
  border-bottom: 1px solid $grey10;
}
.el-dialog__title {
  color: #000 !important;
  font-size: 20px !important;
  font-weight: bold;
}
.el-dialog__headerbtn {
  top: 15px !important;
  font-size: 24px !important;
}
.pages-box {
  margin-top: 10px;
}

/* tabs 样式 */
.customTab .el-tabs__nav-scroll {
  background-color: #fff;
  border-bottom: 2px solid $--color-primary;
}
.customTab .el-tabs__item {
  /* border: 1px solid rgba(24,144,255,0.7) !important; */
  font-weight: 600;
  /* border-bottom: 2px solid #1890ff !important; */
}
.customTab .el-tabs--border-card > .el-tabs__header .el-tabs__item {
  color: #333;
}
.customTab .el-tabs--border-card > .el-tabs__header .el-tabs__item.is-active {
  color: #fff;
  background-color: $--color-primary;
  &:hover {
    color: #fff;
  }
}

.customTabNew {
  // border:1px solid #f1f1f1;
  padding: 5px;
}
.customTabNew .tabs {
  border-bottom: 3px solid $--color-primary;
  margin-bottom: 10px;
  .tongji_box {
    margin-left: 20px;
    background-color: #f5f8fe;
    height: 36px;
    line-height: 36px;
    padding-left: 20px;
    border-radius: 6px 6px 0 0;
    > span {
      margin-right: 20px;
      color: #666;
      .price {
        font-size: 18px;
      }
    }
  }
}
.customTabNew .tabs .el-radio-button__inner {
  border-bottom: none;

  font-weight: bold;
}
.customTabNew .el-radio-button:first-child .el-radio-button__inner {
  border-radius: 4px 0 0 0;
}
.customTabNew .el-radio-button:last-child .el-radio-button__inner {
  border-radius: 0 4px 0 0;
}
.zdy-main {
  position: relative;
}
.zdy-main .tip {
  color: #d11010;
  text-decoration: underline;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  position: absolute;
  top: 10px;
  right: 50px;
  z-index: 99;
}
.zdy-des {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  margin: 6px 0;
  // white-space: pre-wrap;
}

// .el-tooltip__popper{
//   white-space: pre-wrap;
//   max-height: 400px;
//   overflow-y: auto;
// }

.el-input--medium .el-input__inner {
  text-align: left;
}
/* 表格提示弹出 */
.el-tooltip__popper {
  white-space: pre-wrap;
  max-width: 800px;
  // max-height: 400px;
  padding: 10px;
  // overflow-y: auto;
}
// .el-tooltip__popper.is-dark{
//   background-color: #f3f3f3;
//   color: #333;
// }
.link {
  color: #5944e2;
  cursor: pointer;
}

// 分段器
.segmented-control {
    display: flex;
    background: #f4f4f4;
    border-radius: 50px;
    padding: 4px;
    width: fit-content;
}

.segment {
    min-width: 80px;
    text-align: center;
    padding: 4px 0;
    border-radius: 50px;
    font-size: 14px;
    color: #222;
    background: transparent;
    cursor: pointer;
    transition: all 0.2s;

    &.active {
        background: #6c5dd3;
        color: #fff;
        font-weight: 500;
        box-shadow: 0 2px 8px #e6f0ff;
    }

    &:not(.active):hover {
        background: #ececec;
    }
}
</style>
